package com.zuozuo.lambda;

public class Demo1 {
    public static void main(String[] args) {
        Thread thread = new Thread(new MyLambda());
        thread.run();

        new Thread(new Runnable() {
            @Override
            public void run() {
                System.out.println("多线程启动");
            }
        }).run();

        new Thread(()->{
            System.out.println("多线程启动");
        }).run();
    }
}
